#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "DCB.h"


//establish a new dcb and return
mpx_dcb* new_dcb(char* state, int curop, int flag, buffer* user, buffer* proc)
{
	DCB* q={state, curop, flag, user, proc);
	return q;
}

buffer* buf(double add, double size)
{
	buffer x={add, size);
	return x;
}